package edu.java.water.entity;

public class CartEntity {
    private Integer id;
    private Integer user_id;
    private Integer norm_id;
    private Integer product_id;
    private Integer product_num;
    private String product_name;
    private String info;
    private String name;
    private String img;
    private String size;
    private Integer price;
    private Integer stock;
    private Integer state;

    @Override
    public String toString() {
        return "CartEntity{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", norm_id=" + norm_id +
                ", product_id=" + product_id +
                ", product_num=" + product_num +
                ", product_name='" + product_name + '\'' +
                ", info='" + info + '\'' +
                ", name='" + name + '\'' +
                ", img='" + img + '\'' +
                ", size='" + size + '\'' +
                ", price=" + price +
                ", stock=" + stock +
                ", state=" + state +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getNorm_id() {
        return norm_id;
    }

    public void setNorm_id(Integer norm_id) {
        this.norm_id = norm_id;
    }

    public Integer getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    public Integer getProduct_num() {
        return product_num;
    }

    public void setProduct_num(Integer product_num) {
        this.product_num = product_num;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
